#ifndef __MPU6050_H_
#define __MPU6050_H_

//配置I2C设备MPU6050
#define MPU6050_FUNC_I2C 	GPIO_FUNC_I2C1
#define MPU6050_GPIO_SDA	GPIO_PIN_13
#define MPU6050_GPIO_SCL	GPIO_PIN_12
#define MPU6050_ADDRESS		0x68

extern float ax_f,ay_f,az_f;
extern float pitch_kalman, roll_kalman, yaw_kalman;
uint8_t MPU6050_Init(void);
void MPU6050_GetData(void);

#endif 
